<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: RequestStream.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#namespaces">命名空间</a> &#124;
<a href="#typedef-members">类型定义</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle"><div class="title">RequestStream.h 文件参考</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="exports_8h_source.html">drogon/exports.h</a>&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;functional&gt;</code><br />
<code>#include &lt;memory&gt;</code><br />
<code>#include &lt;exception&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
RequestStream.h 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="RequestStream_8h__incl.png" border="0" usemap="#aRequestStream_8h" alt=""/></div>
<map name="aRequestStream_8h" id="aRequestStream_8h">
<area shape="rect" title=" " alt="" coords="221,5,356,31"/>
<area shape="rect" href="exports_8h.html" title=" " alt="" coords="5,79,137,104"/>
<area shape="poly" title=" " alt="" coords="255,33,120,77,119,72,253,28"/>
<area shape="rect" title=" " alt="" coords="162,79,221,104"/>
<area shape="poly" title=" " alt="" coords="275,33,220,72,217,68,271,29"/>
<area shape="rect" title=" " alt="" coords="245,79,332,104"/>
<area shape="poly" title=" " alt="" coords="291,31,291,65,286,65,286,31"/>
<area shape="rect" title=" " alt="" coords="357,79,434,104"/>
<area shape="poly" title=" " alt="" coords="307,28,368,69,365,73,304,33"/>
<area shape="rect" title=" " alt="" coords="459,79,545,104"/>
<area shape="poly" title=" " alt="" coords="324,28,455,72,454,77,322,33"/>
</map>
</div>
</div>
<p><a href="RequestStream_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdrogon_1_1MultipartHeader.html">drogon::MultipartHeader</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1RequestStream.html">drogon::RequestStream</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1StreamError.html">drogon::StreamError</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdrogon_1_1RequestStreamReader.html">drogon::RequestStreamReader</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
命名空间</h2></td></tr>
<tr class="memitem:namespacedrogon" id="r_namespacedrogon"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html">drogon</a></td></tr>
<tr class="memdesc:namespacedrogon"><td class="mdescLeft">&#160;</td><td class="mdescRight">Drogon Test is a minimal effort test framework developed because the major C++ test frameworks doesn't handle async programs well. Drogon Test's syntax is inspired by both Google Test and Catch2 <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacedrogon_1_1internal" id="r_namespacedrogon_1_1internal"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon_1_1internal.html">drogon::internal</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
类型定义</h2></td></tr>
<tr class="memitem:a24fc8ca3a2013fb1670c966016155d6a" id="r_a24fc8ca3a2013fb1670c966016155d6a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a24fc8ca3a2013fb1670c966016155d6a">drogon::RequestStreamReaderPtr</a> = std::shared_ptr&lt; <a class="el" href="classdrogon_1_1RequestStreamReader.html">RequestStreamReader</a> &gt;</td></tr>
<tr class="separator:a24fc8ca3a2013fb1670c966016155d6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0063a17de013c124fe14cd0f13ecf593" id="r_a0063a17de013c124fe14cd0f13ecf593"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#a0063a17de013c124fe14cd0f13ecf593">drogon::RequestStreamPtr</a> = std::shared_ptr&lt; <a class="el" href="classdrogon_1_1RequestStream.html">RequestStream</a> &gt;</td></tr>
<tr class="separator:a0063a17de013c124fe14cd0f13ecf593"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:aeb82de311298c06b27c32eecb1829bb4" id="r_aeb82de311298c06b27c32eecb1829bb4"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon.html#aeb82de311298c06b27c32eecb1829bb4">drogon::StreamErrorCode</a> { <a class="el" href="namespacedrogon.html#aeb82de311298c06b27c32eecb1829bb4a35c3ace1970663a16e5c65baa5941b13">drogon::kNone</a> = 0
, <a class="el" href="namespacedrogon.html#aeb82de311298c06b27c32eecb1829bb4ac9d4c82800a197b3ea4bd951dc1fb6e5">drogon::kBadRequest</a>
, <a class="el" href="namespacedrogon.html#aeb82de311298c06b27c32eecb1829bb4a7d4c4355720e80e3e0f2636de0edade4">drogon::kConnectionBroken</a>
 }</td></tr>
<tr class="separator:aeb82de311298c06b27c32eecb1829bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a68052c30e5cc9ab1f57d5923dac9ba52" id="r_a68052c30e5cc9ab1f57d5923dac9ba52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="exports_8h.html#a00d0a001c2dd03906272e00b0598182e">DROGON_EXPORT</a> <a class="el" href="namespacedrogon.html#a0063a17de013c124fe14cd0f13ecf593">RequestStreamPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedrogon_1_1internal.html#a68052c30e5cc9ab1f57d5923dac9ba52">drogon::internal::createRequestStream</a> (const <a class="el" href="namespacedrogon.html#a5200699555f98a809538342baa167aad">HttpRequestPtr</a> &amp;req)</td></tr>
<tr class="separator:a68052c30e5cc9ab1f57d5923dac9ba52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><dl class="section author"><dt>作者</dt><dd>Nitromelon</dd></dl>
<p>Copyright 2024, Nitromelon. All rights reserved. <a href="https://github.com/drogonframework/drogon">https://github.com/drogonframework/drogon</a> Use of this source code is governed by a MIT license that can be found in the License file.</p>
<p>Drogon </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>
